using System.Collections.Generic;

public class QuestBase
{
    /// <summary>
    /// 任务名称
    /// </summary>
    public string Name { get; set; }
    /// <summary>
    /// 任务发布者
    /// </summary>
    public string Giver { get; set; }
    /// <summary>
    /// 任务状态
    /// </summary>
    public QuestStatus Status { get; set; }
    /// <summary>
    /// 任务前对话
    /// </summary>
    public Queue<DialogInfo> BeforeDialogs { get; set; }
    /// <summary>
    /// 任务中对话
    /// </summary>
    public List<DialogInfo> DuringDialogs { get; set; }
    /// <summary>
    /// 任务后对话
    /// </summary>
    public Queue<DialogInfo> AfterDialogs { get; set; }
    /// <summary>
    /// 是否领取即完成
    /// </summary>
    public bool AcceptIsCompleted { get; set; }

    public ActiveMode ActiveMode{ get; set; }

    public QuestBase()
    {
        this.BeforeDialogs = new Queue<DialogInfo>();
        this.DuringDialogs = new List<DialogInfo>();
        this.AfterDialogs = new Queue<DialogInfo>();
        this.AcceptIsCompleted = false;
        this.ActiveMode = ActiveMode.Auto;
    }
}